<?php
require_once(Config::acquire("Controller", null, "controller"));
require_once(Config::acquire("IncidentHistory", MODEL));
/**
 * Created by JetBrains PhpStorm.
 * User: Sander
 * Date: 30-6-11
 * Time: 14:22
 * To change this template use File | Settings | File Templates.
 */
 
class IncidentHistory extends Model
{
    /**
     * initialiseren
     */
    private $id;
    private $IncidentID;
    private $questionID;
    private $answer;

    /**
     * aanmaken van de vriabelen
     */
    public function __construct($id, $IncidentID, $questionID, $answer)
    {
        $this->id= $id;
        $this->IncidentID = $IncidentID;
        $this->questionID = $questionID;
        $this->answer = $answer;
    }
    /**
     * toevoegen nieuw incident
     */
    public static function add($id, Incident $IncidentID, Question $questionID, $answer)
    {
        return new IncidentHistory($id, $IncidentID, $questionID, $answer);
    }
    /**
     * verwijderen van incident
     */
    public function delete()
    {
        // TODO: Implement delete() method.
    }

    /**
     * zet gegevens in een array
     */
    public function toArray()
    {
        // TODO: Implement toArray() method.
    }

    /**
     * Updaten van de table
     */
    public function update()
    {
        // TODO: Implement update() method.
    }
}
